package cn.imnaer.service.rest.resquest.model;

import cn.imnaer.service.persistence.model.ScheduleItem;

/**
 * @author Administrator
 *         增加一个ITEM到现有行程
 */
public class AppendScheduleParams {
    private String scheduleId;
    private String scheduleItemId;
    private String image;
    private String scenicName;//景点名
    private String type;

    public String getScheduleItemId() {
        return scheduleItemId;
    }

    public void setScheduleItemId(String scheduleItemId) {
        this.scheduleItemId = scheduleItemId;
    }

    public String getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(String scheduleId) {
        this.scheduleId = scheduleId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getScenicName() {
        return scenicName;
    }

    public void setScenicName(String scenicName) {
        this.scenicName = scenicName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public ScheduleItem transformScheduleItem() {
        ScheduleItem scheduleItem = new ScheduleItem();
        scheduleItem.setImage(image);
        scheduleItem.setScenicName(scenicName);
        scheduleItem.setType(type);
        return scheduleItem;
    }
}
